<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>手风琴效果</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
      rel="stylesheet"
    />
  </head>
  <link rel="stylesheet" href="index.css" />

  <body>
    <div class="container">
      <div class="item active" style="background-image: url(./images/sun.jpeg)">
        <div class="shadow">
          <div class="content">
            <div class="icon">
              <i class="fa fa-sun-o" aria-hidden="true"></i>
            </div>
            <div class="text">
              <div class="title">春</div>
              <div class="sub">渭城朝雨浥轻尘，客舍青青柳色新。</div>
            </div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(./images/cloud.jpeg)">
        <div class="shadow">
          <div class="content">
            <div class="icon">
              <i class="fa fa-cloud"></i>
            </div>
            <div class="text">
              <div class="title">阴</div>
              <div class="sub">幽见夕阳霁，高逢暮雨阴。</div>
            </div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(./images/rain.jpeg)">
        <div class="shadow">
          <div class="content">
            <div class="icon">
              <i class="fa fa-tint"></i>
            </div>
            <div class="text">
              <div class="title">雨</div>
              <div class="sub">细雨斜风作晓寒，淡烟疏柳媚晴滩。</div>
            </div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(./images/bolt.jpeg)">
        <div class="shadow">
          <div class="content">
            <div class="icon">
              <i class="fa fa-bolt"></i>
            </div>
            <div class="text">
              <div class="title">雷</div>
              <div class="sub">巫峡中宵动，沧江十月雷。</div>
            </div>
          </div>
        </div>
      </div>
      <div class="item" style="background-image: url(./images/snow.jpeg)">
        <div class="shadow">
          <div class="content">
            <div class="icon">
              <i class="fa fa-snowflake-o"></i>
            </div>
            <div class="text">
              <div class="title">雪</div>
              <div class="sub">窗含西岭千秋雪，门泊东吴万里船。</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <script src="index.js"></script>
  </body>
</html>
